// store/order.ts
import { defineStore } from 'pinia';

export const useOrderStore = defineStore('order', {
  state: () => ({
    dispatchedItems: [],
  }),
  actions: {
    setDispatchedItems(items) {
      this.dispatchedItems = items;
    },
  },
});
